package com.xiaoge.system.service;

import com.xiaoge.system.entity.Role;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 角色表 服务类
 * </p>
 *
 * @author xiaoge
 * @since 2020-09-04
 */
public interface RoleService extends IService<Role> {
    Long addRole(Role role);

    List<Role> queryByCondition(String roleName,String remark);

    int delete(String id);

    int update(String id,Role role);
}
